|
![](/i/fill.gif) |
Christopher James Huff wrote:
> In article <4237206a$1@news.povray.org>, "Slime" <fak### [at] email address>
> wrote:
>
>
>>Two solutions:
>> - rotate your cylindrical pattern to face along the z-axis with rotate 90*x
>> - use the spherical pattern instead of cylindrical
>
>
> Another solution: do the rotation in the call to the function. It's a 90
> degree rotation around one axis, so just swap two coordinates and negate
> one of them. Since you're generating an image for the height field, it's
> even easier to figure out...function images are sampled from the xy
> plane, the height field uses the image for the xz plane.
>
> function 1000, 1000 {F_Terrain(x, 0, y)}
>
That's cool, then I could use the same function for hf and its pigment,
just call each differently.
Post a reply to this message
|
![](/i/fill.gif) |